package cloud.keveri.response4j;

import cloud.keveri.base.result.Response;
import cloud.keveri.base.result.ResponseStatus;

/**
 * <p>
 * 作者：沈自在
 **/
public interface ResponseMaker {

    /**
     *
     */
    Response newEmptyInstance();

    /**
     *
     */
    Response newInstance(ResponseStatus status);

    /**
     *
     */
    Response newSuccessInstance();

    /**
     *
     */
    Response newSuccessInstance(Object data);

    /**
     *
     */
    Response newFailInstance();
}
